package tcu.ead.leety.tcuplant.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import tcu.ead.leety.tcuplant.common.DataReturn;

@Repository
@Mapper
@Component("HttpControllerMapper")
public interface HttpControllerMapper {

    @Select("SELECT id,tid,card,name FROM lists WHERE id=#{id}")
    DataReturn SelectData(int id);
}
